projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42d98a1
)
V900: read points other than trackpoints as waypoints.
author
robertl
<robertl>
Wed, 17 Jun 2009 01:29:35 +0000
(
01:29
+0000)
committer
robertl
<robertl>
Wed, 17 Jun 2009 01:29:35 +0000
(
01:29
+0000)
v900.c
patch
|
blob
|
history
diff --git
a/v900.c
b/v900.c
index 0dd0ba17ac968693321582cf5d4d00e0ca3d4cf2..d6887ef929be05f36f2f91915a88d08cad1306dc 100644
(file)
--- a/
v900.c
+++ b/
v900.c
@@
-344,7
+344,10
@@
Advanced mode: INDEX,TAG,DATE,TIME,LATITUDE N/S,LONGITUDE E/W,HEIGHT,SPEED,HEADI
wpt->fix = fix_unknown;
}
- track_add_wpt(track, wpt);
+ if(line.bas.common.tag == 'T')
+ track_add_wpt(track, wpt);
+ else
+ waypt_add(wpt);
}
}
@@
-362,4
+365,3
@@
ff_vecs_t v900_vecs = {
CET_CHARSET_UTF8, 1, /* Could be US-ASCII, since we only read "0-9,A-Z\n\r" */
{NULL,NULL,NULL,NULL,NULL,NULL}
};
-